/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interfaces;

import Tables.database.Request;
import java.rmi.Remote;
import java.rmi.RemoteException;
import utilities.*;

/**
 *
 * @author Engy
 */
public interface ChatClientInt extends Remote {

    boolean friendAddRequest(Request request) throws RemoteException;//el server bet2ool lel client meen el 3amelo add
    boolean friendRequestReply(Request request) throws RemoteException;//When a friend requestsgets accepted this functions displays a nitification.
    boolean reciveFile(FilePacket packet)throws RemoteException;
    void notifyStatusToClient(String email, Utilities.Status status)throws RemoteException;//bt2ool en el client 3`eer el status bet3to
    
}
